Add npm run ava command, update instructions, and exclude files from VSCode search#3152
Merged
Add npm run ava command, update instructions, and exclude files from VSCode search#3152
npm run ava command, update instructions, and exclude files from VSCode search#3152Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds development tooling improvements to streamline test execution and improve the development experience. It introduces a flexible npm run ava command for running tests on custom paths, while maintaining backward compatibility with the existing test workflow.
- Adds a new
npm run avascript to enable flexible test path specification - Updates existing
npm run testto use the new script with defaultsrc/path - Updates documentation and justfile to reference the new command
- Excludes transpiled files from VSCode search results
Reviewed Changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Adds ava script and updates test script to use it with default path |
| lib/*.js | Auto-generated JavaScript files reflecting package.json changes |
| justfile | Updates test_file recipe to use new npm script |
| CONTRIBUTING.md | Documents the new testing command for specific paths |
| .vscode/settings.json | Excludes build artifacts from search results |
01f46d9 to
4ebd49f
Compare
4ebd49f to
48be21c
Compare
esbena
approved these changes
Sep 25, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A few minor bits bundled up:
npm run avacommand; which can be used to run tests based on a custom path.npm run testto use that, with the existingsrc/path.CONTRIBUTING.mdto highlightnpm run avajustfileto usenpm run avanode_modulesfrom search results in VSCodeRisk assessment
For internal use only. Please select the risk level of this change:
Merge / deployment checklist